home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1998 May / PCPlus May 1998=disk A.iso / full / CBUILDER / SAMS / SAMPLES / CHAP08 / BITBTN.CPP next >
Encoding:
C/C++ Source or Header  |  1997-02-12  |  739 b   |  20 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl\vcl.h>
  3. #pragma hdrstop
  4.  
  5. #include "BitBtn.h"
  6. #include "Button.h"
  7. //---------------------------------------------------------------------------
  8. #pragma resource "*.dfm"
  9. TBitBtnForm *BitBtnForm;
  10. //---------------------------------------------------------------------------
  11. __fastcall TBitBtnForm::TBitBtnForm(TComponent* Owner)
  12.   : TForm(Owner)
  13. {
  14. }
  15. //---------------------------------------------------------------------------
  16. void __fastcall TBitBtnForm::EnableAllButtonClick(TObject *Sender)
  17. {
  18.   ButtonForm->EnableButtons(this, Sender == EnableAllButton);
  19. }
  20. //---------------------------------------------------------------------